<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改收货地址</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="css/bootstrap.css">
    <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css"><!-- 图标样式 -->
    <link rel="stylesheet" type="text/css" href="./css/home.css">
    <link rel="stylesheet" type="text/css" href="./css/profile.css">
    <link rel="stylesheet" href="./css/ionicons.min.css">

    <script src="js/jquery-2.2.3.min.js"></script>
    <script src="js/jquery-scrolltofixed-min.js" type="text/javascript"></script><!-- 导航栏 -->
    <script type="text/javascript" src="js/move-top.js"></script>
    <script type="text/javascript" src="js/easing.js"></script>
    <script src="js/bootstrap.js"></script>
    <script src="js/jquery.menu-aim.js"></script>
    <script src="js/main.js"></script><!-- 导航栏 -->
    <script src="js/custom.js"></script>
    <script src="http://api.map.baidu.com/api?v=2.0&ak=6PVV6WP9bLyvP8Gs23ZW2kQ0Blw2Fwvt"></script>
    <script src="js/map.jquery.js"></script>
</head>
<body>
<div class="post" id="update_address">
    <!-- form -->
    <form action="#" class="form">
        <div class="row">
            <div class="col-12">
                <h2 class="form__title">修改地址</h2>
            </div>

            <div class="col-12 col-lg-6">
                <div class="form__group">
                    <label  class="form__label">收货人:</label>
                    <input name="uName" type="text" class="form__input" v-model="address.name">
                </div>
            </div>

            <div class="col-12 col-lg-6">
                <div class="form__group">
                    <label  class="form__label">电话:</label>
                    <input name="phone" type="text" class="form__input" v-model="address.phone">
                </div>
            </div>
            <div class="row">
                <div class="col-12 col-md-6 col-md-offset-6">
                    <div class="form__group">
                        <label class="form__label">所在地区:</label>
                        <div class="update_bMap" id='case3'></div>
                        <!--<input name="address" placeholder="填写至区域或者道路等" id="region" type="text"
                               class="form__input" v-model="address.region">-->
                    </div>
                </div>
            </div>
            <div class="row">
            <div class="col-12 col-md-6  col-md-offset-6">
                <div class="form__group">
                    <label for="address" class="form__label">详细地址:</label>
                    <input name="address" placeholder="如道路、门牌号、小区等" id="address" type="text"
                           class="form__input" v-model="address.address">
                </div>
            </div>
            </div>
            <div class="row">
            <div class="col-12 col-md-6  col-md-offset-6">
                <div class="form__group">
                    <label for="address" class="form__label">邮编号码:</label>
                    <input name="address" id="postcode" type="text"
                           class="form__input" v-model="address.postcode">
                </div>
            </div>
            </div>
            <div class="col-12">
                <button class="form__btn" type="button" @click="updateAddress"><span>保存</span></button>
                <div class="goods-checked">
                    <input type="checkbox" v-model="address.default"> 设置为默认
                </div>
            </div>
        </div>
    </form>
</div>
</body>
<script src='js/profile.js'></script>
<script type="text/javascript" src="js/jquery-cookie-1.4.1.js"></script>
<script type="text/javascript" src="js/vue-2.6.11.js"></script>
<script type="text/javascript" src="js/axios-0.19.2.min.js"></script>
<script type="text/javascript" src="js/layer.js"></script>
<script type="text/css" src="js/mobile/need/layer.css"></script>
<script type="text/javascript" src="js/profile/update_address.js"></script>
</html>